import pandas as pd
from pandas import DataFrame, Series
df = DataFrame({'姓名':['a', 'b'], '学号':['A1', 'A2'], '成绩1': [90,89], '成绩2': [90,99]})
df = df.append({'姓名':'d','学号': 'A4', '成绩1': 90, '成绩2': 88}, ignore_index=True)
input(df)